package com.wyh.cloud.controller;

import com.wyh.cloud.service.IMessagePro;
import com.wyh.cloud.service.impl.IMessageProIMpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wyh
 * @version 1.0
 * @date 2021/11/19 17:34
 */
@RestController
public class MessageController {

    @Autowired
    private IMessageProIMpl iMessagePro;

    @GetMapping(value = "/sendMessage")
    public String send(){
        return iMessagePro.send();
    }
}
